package ncme.auto.framework.core.entities.aspect.parameter;

import ncme.auto.framework.core.annotation.entity.AllowNull;

public class MapperParam {

    private Integer primaryId;

    private Integer secondaryId;

    @AllowNull
    private String creator;

    public MapperParam() {
    }

    public MapperParam(Integer primaryId, Integer secondaryId){
        this.primaryId = primaryId;
        this.secondaryId = secondaryId;
    }

    public MapperParam(Integer primaryId, Integer secondaryId, String creator) {
        this.primaryId = primaryId;
        this.secondaryId = secondaryId;
        this.creator = creator;
    }

    public Integer getPrimaryId() {
        return primaryId;
    }

    public void setPrimaryId(Integer primaryId) {
        this.primaryId = primaryId;
    }

    public Integer getSecondaryId() {
        return secondaryId;
    }

    public void setSecondaryId(Integer secondaryId) {
        this.secondaryId = secondaryId;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    @Override
    public String toString() {
        return "MapperParam{" + "primaryId=" + primaryId + ", secondaryId=" + secondaryId + ", creator='" + creator + '\'' + '}';
    }
}
